import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/components/Main'
import UserRouter from '@/router/user'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main,
      children: UserRouter
    }
  ]
})
